import {get, post, del, put} from "../http";

// 创建小结
export const createVideo = (data) =>
  post('/edu/video/create', data)

// 修改小结
export const updateVideo = (data) =>
  put('/edu/video/update', data)

// 根据id查询
export const findByIdVideo = (videoId) =>
  get(`/edu/video/findById/${videoId}`)

// 删除，根据id
export const deleteVideo = (videoId) =>
  del(`/edu/video/delete/${videoId}`)

